<?php

namespace App\V3\V3_2_7\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class RegionModel extends Model
{


    use HasFactory;

    protected $table = 'region';
    protected $primaryKey = 'id';
    public $timestamps = false;

    public function city()
    {
        return self::hasMany(self::class, 'parent_id', 'id');
    }
}
